/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BO;

import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Quang Thao
 */
public class BookBO {
    
    Mapper.BookMapper map;
    
    public BookBO() throws SQLException
    {
        map = new Mapper.BookMapper();
    }
    
    public List GetAll(String type) throws Exception
    {
        return map.GetAll(type);
    }
    
    public Bean.BookBean GetInfo(String isbn) throws Exception
    {
        return map.GetInfo(isbn);
    }
    
    public List GetListBySpecial(String special) throws Exception
    {
        return map.GetListBySpecial(special);
    }
}
